package com.chw.admin.order;

import java.util.List;

import com.github.pagehelper.PageInfo;
 
public abstract interface IChwOrderService {

	// 新增
	public abstract int addEntity(ChwPoHeader chwPoHeader, List<ChwPoLine> lineList);

	// 删除
	public abstract int deleteEntity(String id);

	// 更新
	public abstract int updateEntity(ChwPoHeader chwPoHeader, List<ChwPoLine> lineList);

	// 查询
	public abstract ChwOrder getEntityById(String id);

	// 分页查询
	public abstract PageInfo<ChwPoHeader> findEntity(ChwPoHeader chwPoHeader, Integer currentPage, Integer pageSize);

	// 分页查询行
	public abstract PageInfo<ChwPoLine> findChwPoLine(ChwPoLine chwPoLine, Integer currentPage, Integer pageSize);

}